package model

import (
	"time"
)

type UserTeam struct {
	Id         int64     `gorm:"primaryKey;autoIncrement" json:"id"`
	UserId     int64     `gorm:"column:userId" json:"userId"`
	TeamId     int64     `gorm:"column:teamId" json:"teamId"`
	JoinTime   time.Time `gorm:"column:joinTime" json:"joinTime"`
	CreateTime time.Time `gorm:"column:createTime" json:"createTime"`
	UpdateTime time.Time `gorm:"column:updateTime" json:"updateTime"`
	IsDelete   int       `gorm:"column:isDelete" json:"isDelete"`
}

func (UserTeam) TableName() string {
	return "user_team"
}
